
    <div class="topbar">
        <div class="container">
            <div class="fl">欢迎来到驾驶人家！</div>
            <div class="fr">
                <ul> 
                    <li><a href="http://www.jiashirenjia.com/"><i class="icons"></i>首页</a></li>
                    <li><a href="javascript:;"><i class="icons icon-weibo"></i>微博</a></li>
                    <li><a href="javascript:;"><i class="icons icon-weixin"></i>微信<i class="icons icon-arrow-bottom"></i></a></li>
                    <li><a href="javascript:;">会员入口</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="header">
        <div class="t">
            <div class="container">
                <div class="fl">
                    <h1 class="logo fl"> <li><a href="http://www.jiashirenjia.com/"><img src="${ctx!}/images/logo.png"/></a></h1>
                    <div class="area fl">
                    <p class="city"><span id="provinces"></span><b class="caret"></b></p>
	                    <div class="city-panel" style="display: -none;">
	                     <%
	                      var provinces=@com.jd.drive.common.handler.ServiceHandler.getProvince();
	                      for(province in provinces){%>  
	                       <a onclick="chengeProvince('${province.columns['code']!}')">${province.columns["name"]!}</a>
	                     <%}%>
	                    </div>
                    </div>
                </div>  
                <div class="fr search">
                    <div class="search-box">
                         <form id="serchSchool"  method="post" action="${ctx!}/school/search" >
                           <input type="text" class="search_inp" name="schoolName" placeholder="驾校搜索" value="${schoolName!}"/>
                           <a href="#" onclick="serchSchool();" class="search_submit"><i class="icons icon-search"></i></a>
                         </form>
                          <form id="chengeProvince"  method="post" action="${ctx!}/chengeProvince" >
                            <input type="hidden"  name="pcode" id="pcode" />
                            <input type="hidden"  name="redirect" id="redirect" />
                         </form>
                    </div>
                </div>
            </div>
        </div>
        <div class="nav">
            <div class="container" style="overflow: hidden;">
                <div class="list">
                 <%
				    var topList=@com.jd.drive.model.admin.Chnl.topList();
				    var childList=@com.jd.drive.model.admin.Chnl.childList();
				    var className="";
				    for(top in topList){
				      className="";
				      if(topLP.index == 2){
				        className="w247";
				      }
				      if(topLP.index == 4){
				       className="w106";
				      }
				      if(topLP.index == 5){
				       className="w170";
				      }
				    %>   
				       <dl class="${className!}">
                        <dt <% if(topLP.index == 5){printf('style="width: 36px;"');}%> >${top.name!}</dt>
                         <% for(child in childList){
						   if(top.id == child.parent_id){
						     if(child.url! !=null &&child.url! !=""){
							     if(strutil.contain(child.url!,"www.")){
							     %>
							      <dd><a href="${child.url!}" target="_blank">${child.name!}</a></dd>
							     <%
		                         }else{
							     %> 
							      <dd><a href="${ctx!}${child.url!}?p=3&c=${child.id!}" target="_blank">${child.name!}</a></dd>
							    <% } 
						      }else{%> 
						        <dd><a href="${ctx!}${child.url!}?p=3&c=${child.id!}" target="_blank">${child.name!}</a></dd>
						      <%}
						    }
						   }%> 
                        </dl>
				     <% }%> 
                
                </div>
            </div>
        </div>
    </div>
 
 
 
 
